<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="css/index.css">
  <title>Dom</title>
</head>
<body>
    <div class="slider-wrap">
      <div class="slider">
        <ul class="slider-list">
          <li class="slider-item  active">
            <a href="">
              <img src="image/1.jpg" alt="" />
            </a>
          </li>
          <li class="slider-item">
            <a href="">
              <img src="image/2.jpg" alt="" />
            </a>
          </li>
          <li class="slider-item">
            <a href="">
              <img src="image/3.jpg" alt="" />
            </a>
          </li>
          <li class="slider-item">
            <a href="">
              <img src="image/4.jpg" alt="" />
            </a>
          </li>
          <li class="slider-item">
            <a href="">
              <img src="image/5.jpg" alt="" />
            </a>
          </li>
          <li class="slider-item">
            <a href="">
              <img src="image/6.jpg" alt="" />
            </a>
          </li>
        </ul>
      </div>
      <div class="thumbs ">
        <ul class="thumbs-list">
          <li class="thumbs-item cur">
            <a href="#">
              <img src="./image/1.jpg" alt="">
            </a>
          </li>
          <li class="thumbs-item">
            <a href="#">
              <img src="./image/2.jpg" alt="">
            </a>
          </li>
          <li class="thumbs-item">
            <a href="#">
              <img src="./image/3.jpg" alt="">
            </a>
          </li>
          <li class="thumbs-item">
            <a href="#">
              <img src="./image/4.jpg" alt="">
            </a>
          </li>
          <li class="thumbs-item">
            <a href="#">
              <img src="./image/5.jpg" alt="">
            </a>
          </li>
          <li class="thumbs-item">
            <a href="#">
              <img src="./image/6.jpg" alt="">
            </a>
          </li>
        </ul>
      </div>
    </div>


</body>
<script src="js/index.js"></script>
<script>
  var slider = new Slider({
    slider: "slider-item",
    thumbs: "thumbs-item",
  });
</script>
</html>